<!doctype html>
<html lang="en">

	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/mui.css" />
		<link rel="stylesheet" type="text/css" href="css/app.css" />
		<link rel="stylesheet" type="text/css" href="fonts/iconfont.css" />
	</head>

	<body>
		<!-- 缩放式侧滑（类手机QQ） -->
		<!-- 侧滑导航根容器 -->
		<div class="mui-off-canvas-wrap mui-draggable mui-scalable">
			<!-- 菜单容器 -->
			<aside class="mui-off-canvas-left mui-transitioning" id="offCanvasSide">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<!-- 菜单具体展示内容 -->
						<div class="title">侧滑导航</div>
						<div class="content">
							这是可拖动式侧滑菜单示例，你可以在这里放置任何内容；关闭侧滑菜单有多种方式： 1.在手机屏幕任意位置向左拖动(drag)；2.点击本侧滑菜单页之外的任意位置; 3.点击如下红色按钮
							<span class="android-only" style="display: none;">；4.Android手机按back键；5.Android手机按menu键
				</span>。
							<p style="margin: 10px 15px;">
								<button id="offCanvasHide" type="button" class="mui-btn mui-btn-danger mui-btn-block" style="padding: 5px 20px;">关闭侧滑菜单</button>
							</p>

						</div>
						<div class="title" style="margin-bottom: 25px;">侧滑列表示例</div>
						<ul class="mui-table-view mui-table-view-chevron mui-table-view-inverted">
							<li class="mui-table-view-cell">
								
								<a class="mui-navigate-right">
									Item 1
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									Item 2
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									Item 3
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									Item 4
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									Item 5
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									Item 6
								</a>
							</li>
						</ul>
					</div>
				</div>
			</aside>
			<!-- 主页面容器 -->
			<div class="mui-inner-wrap mui-transitioning">
				<!-- 主页面标题 -->
				<header class="mui-bar mui-bar-nav">
					<a class="mui-icon mui-action-menu mui-icon-bars mui-pull-left" href="#offCanvasSide"></a>
					<h1 class="mui-title">类别管理</h1>
				</header>
				<nav class="mui-bar mui-bar-tab">
					<a class="mui-tab-item mui-active bottom-color " id="bigType">
						<span class="mui-tab-label white-font " >增加大分类</span>
					</a>
					<a class="mui-tab-item bottom-color2">
						<span class="mui-tab-label white-font" id="smalType">增加小分类</span>
					</a>
				</nav>
				
				<div class="mui-content mui-scroll-wrapper">
					<div class="mui-scroll">
						<!-- 主界面具体展示内容 -->
						<div class="mui-row ">
							<div class="mui-col-sm-4 mui-text-center good-type-big-text" >大分类</div>
							<div class="mui-col-sm-8 mui-text-center good-type-big-text-small">小分类</div>
						</div>
						<div class="mui-row"  >
							<div class="mui-col-sm-4 good-type-big" >
							<ul class="mui-table-view">
									<li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							            	 文具
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							            	    文具
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 	铅笔
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 	铅笔
							            </a>
							        </li>
							           <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							            	    文具
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 	铅笔
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 	铅笔
							            </a>
							        </li>
							           <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							            	    文具
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 	铅笔
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 	铅笔
							            </a>
							        </li>
							    </ul>
						</div>
						<div class="mui-col-sm-8 good-type-small" >
							<ul class="mui-table-view">
							        <li class="mui-table-view-cell">
							            <a class="">
							                Item 1
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 Item 2
							            </a>
							        </li>
							        <li class="mui-table-view-cell">
							            <a class="mui-navigate-right">
							                 Item 3
							            </a>
							        </li>
							    </ul>
						</div>
							
						</div>
						
					</div>
			</div>
			<div class="mui-off-canvas-backdrop"></div>
		</div>

		</div>

		<script src="js/mui.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/jquery.js" type="text/javascript"></script>
		<script type="text/javascript">
			mui.init();
			mui('.mui-scroll-wrapper').scroll({
				deceleration: 0.0005 //flick 减速系数，系数越大，滚动速度越慢，滚动距离越小，默认值0.0006
			});
			var info = {
				innerText : ""
			};
			$(document).ready(function(){
				
				document.getElementById("bigType").addEventListener('tap', function(e) {
					e.detail.gesture.preventDefault(); //修复iOS 8.x平台存在的bug，使用plus.nativeUI.prompt会造成输入法闪一下又没了
					var btnArray = ['确定', '取消'];
					mui.prompt('请输入大类：', '请输入大类', '提示', btnArray, function(e) {
						if (e.index == 0) {
							info.innerText = '谢谢你的评语：' + e.value;
							console.log(info.innerText);
						} else {
							info.innerText = '你点了取消按钮';
							console.log(info.innerText);
						}
					});
				});
				document.getElementById("smalType").addEventListener('tap', function(e) {
					e.detail.gesture.preventDefault(); //修复iOS 8.x平台存在的bug，使用plus.nativeUI.prompt会造成输入法闪一下又没了
					var btnArray = ['确定', '取消'];
					mui.prompt('请输入小类：', '请输入小类', '', btnArray, function(e) {
						if (e.index == 0) {
							info.innerText = '谢谢你的评语：' + e.value;
							console.log(info.innerText);
						} else {
							info.innerText = '你点了取消按钮';
							console.log(info.innerText);
						}
					});
				});
			});
			
		</script>
		<script src="js/index.js" type="text/javascript" charset="UTF-8"></script>
	</body>

</html>